﻿<%@ Page Language="C#" AutoEventWireup="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>ECPU</title>
    <link type="text/css" rel="Stylesheet" href="css/main.css" />
    <script type="text/javascript" src="js/Silverlight.js"></script>
    <script type="text/javascript" src="js/system.js"></script>
    <script type="text/javascript" src="js/ecpu.js"></script>
</head>
<body>

    <div id="controlBox" class="borderDashed">
        <h3>Control Box</h3>
        <span id="updateMaxLoad">
            New max CPU load: 
            <input type="text" id="updateMaxLoad_input" value="" />
            <a href="#" onclick="updateMaxLoad(document.getElementById('updateMaxLoad_input').value)">update</a>
        </span>
    </div>
    
    <video id="videoBox" width="320" height="240" controls="controls" class="fLeft borderDashed">
        <source src="video/movie.mp4" type="video/mp4" />
    </video>
    
    <form id="form1" runat="server" style="height:100%">
    <div id="silverlightControlHost" class="fLeft">
        <div id="ecpuMonitorWrapper" class="borderDashed">
            <object id="ecpuMonitorObject" data="data:application/x-silverlight-2," type="application/x-silverlight-2">
		      <param name="source" value="ClientBin/ecpuMonitor.xap"/>
		      <param name="onError" value="onSilverlightError" />
		      <param name="background" value="white" />
		      <param name="minRuntimeVersion" value="4.0.60310.0" />
		      <param name="autoUpgrade" value="true" />
		      <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.60310.0" style="text-decoration:none">
 			      <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
		      </a>
	        </object>
        </div>
                
        <div id="ecpuCalcWrapper" class="borderDashed">
            <object id="ecpuCalcObject" data="data:application/x-silverlight-2," type="application/x-silverlight-2">
		      <param name="source" value="ClientBin/ecpuCalc.xap"/>
		      <param name="onError" value="onSilverlightError" />
		      <param name="background" value="white" />
		      <param name="minRuntimeVersion" value="4.0.60310.0" />
		      <param name="autoUpgrade" value="true" />
		      <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.60310.0" style="text-decoration:none">
 			      <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
		      </a>
	        </object>
        </div>
        
        <iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
    </div>
    </form>
</body>
</html>
